<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>操作DOM-获取innerHtml</title>
	<script type="text/javascript" src="../js/vue.js"></script>
</head>
<body>
	<div id="app">
		<div
		    ref="hello" 
		    @Click="change">Hello Vue.js</div>
	</div>
	<script type="text/javascript">
		var vm = new Vue({
			el: '#app',
			methods: {
				change: function() {
					alert(this.$refs.hello.innerHTML);	
				}
			}
		})
	</script>
</body>
</html>